Base solution for your next web application

Activities of "hans abelshausen"

No, I haven't a test package included. Only Abp.Zero version 6.0.3.4 but Abp.TestBase.Runtime.Session.TestAbpSession as Session. Is the TestAbpSession included in the abp.zero package?

I only installed Abp.Zero and Abp.Zero.EntityFramework, but in accountcontroller _userManager.AbpSession is Abp.TestBase.Runtime.Session.TestAbpSession What I'm doing wrong?

Here is the wrong Session:

public UserStore(
            IRepository<User, long> userRepository,
            IRepository<UserLogin, long> userLoginRepository,
            IRepository<UserRole, long> userRoleRepository,
            IRepository<Role> roleRepository,
            IRepository<UserPermissionSetting, long> userPermissionSettingRepository,
            IAbpSession session,
            IUnitOfWorkManager unitOfWorkManager)
            : base(
                userRepository,
                userLoginRepository,
                userRoleRepository,
                roleRepository,
                userPermissionSettingRepository,
                session,
                unitOfWorkManager)
        {
        }

Hi, I have downloaded a brand new project from your site and added my classes. Now Login works perfectly, abp.session is now the right one and not the testbase.session. But I did not found my error. I uninstalled every abp project and reinstalled abp. But still error is shown. So I decided to make a new project! Thanks a lot.

Hi, I wanna add some custom properties to the database table AbpAuditLogs. I have added a class:

public class Log : AuditLog
    {
        public int ActionContextId { get; set; }
        public UserAction UserAction { get; set; }
        public ActionType ActionType { get; set; }
        public Actioncontexttype Actioncontexttype { get; set; }
        public string ActionContextText { get; set; }
    }

I published the new fields to the database.

Now in my application library I try to save the auditInfo and the new fields, but I'm not sure how to do it.

For example, I delete a field in my application and now I wanna log this. If I use the original logging, the methodname parameters etc are saved. How can I add my properties to the save procedure?

Hi, we are using users, roles and Groups, where one user can have multiple Groups. I don't know exactly what Multi tenancy means. Is it perhaps something similar than Groups in my Project? Is it possible, that an user have two or more tenant-ids?

Hi, we are using module Zero for Login. We only need the Name as required. So I overwrited the mail with: [Required(AllowEmptyStrings = true)] public override string EmailAddress { get; set; }

But now, if two people leave the mail field empty, the user is not saved to db. Is there a way to stop watching the DuplicateEmail functionality?

Question

Hi, I have little problems,changing the language at the top of my page. If I switch the language to french, the site is doing a refresh, but the language of the labels has not changed. If I hit CTRL F5, the new language of the labels appear. What I'm doing wrong?Is this a caching problem and how can I solve this?

Question

Hi, I published my project to my server, but if I try to start it, the following error occured, but I don't know a solution: The ObjectContext instance has been disposed and can no longer be used for operations that require a connection

Sorry for my short question. I'm trying to unterstand the error. The error occurs in my debug mode too, but somewhere else. In my console the following error appears (I have intgegrated module Zero. Something with getting users seems to be the error): exceptionMessage: "The 'ObjectContent1' type failed to serialize the response body for content type 'application/json; charset=utf-8'." exceptionType: "System.InvalidOperationException" innerException: Object exceptionMessage: "Error getting value from 'CreatorUser' on 'System.Data.Entity.DynamicProxies.User_4730030EBB16241189B87A85A8706EE27908E7C722E1DAFA1C3B46C6AEC5217E'." exceptionType: "Newtonsoft.Json.JsonSerializationException" innerException: Object exceptionMessage: "The ObjectContext instance has been disposed and can no longer be used for operations that require a connection." exceptionType: "System.ObjectDisposedException" message: "An error has occurred." stackTrace: " bei System.Data.Entity.Core.Objects.ObjectContext.get_Connection() ↵ bei System.Data.Entity.Core.Objects.ObjectQuery1.GetResults(Nullable1 forMergeOption) ↵ bei System.Data.Entity.Core.Objects.ObjectQuery1.Execute(MergeOption mergeOption) ↵ bei System.Data.Entity.Core.Objects.DataClasses.EntityReference1.Load(MergeOption mergeOption) ↵ bei System.Data.Entity.Core.Objects.DataClasses.RelatedEnd.Load() ↵ bei System.Data.Entity.Core.Objects.DataClasses.RelatedEnd.DeferredLoad() ↵ bei System.Data.Entity.Core.Objects.Internal.LazyLoadBehavior.LoadProperty[TItem](TItem propertyValue, String relationshipName, String targetRoleName, Boolean mustBeNull, Object wrapperObject) ↵ bei System.Data.Entity.Core.Objects.Internal.LazyLoadBehavior.<>c__DisplayClass72.<GetInterceptorDelegate>b__2(TProxy proxy, TItem item) ↵ bei System.Data.Entity.DynamicProxies.User_4730030EBB16241189B87A85A8706EE27908E7C722E1DAFA1C3B46C6AEC5217E.get_CreatorUser() ↵ bei GetCreatorUser(Object ) ↵ bei Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)" proto: Object message: "An error has occurred."

Hi! You are right, the last error occurs, because I have used the entity. But on the server, the login is not shown instead of, this error occurs:

Showing 11 to 20 of 37 entries